/*
	Copyright (c) 2010 <copyright holders>
	This source code is licensed under The MIT License,
	see the file LICENSE for details.
	*/

#ifndef FILEDEFS_HPP
#define FILEDEFS_HPP

#include <string>
#include "BundleInfo.hpp"

namespace spelprog2 {
namespace file {

const std::string   MAP_DIRECTORY = "media/maps/";

const char          REPLAY_MAGIC[] = { 's', 'p','2','R' };
const unsigned      REPLAY_VERSION = 0;
const std::string   REPLAY_EXTENSION = ".replay";
#ifdef __APPLE__
const std::string   REPLAY_DIRECTORY = "Contents/replays/";
#else
const std::string   REPLAY_DIRECTORY = "replays/";
#endif
const std::string   TEMP_REPLAY_PREFIX = "temp";
const std::string   TEMP_REPLAY_FILENAME = REPLAY_DIRECTORY + TEMP_REPLAY_PREFIX + REPLAY_EXTENSION;


}; //file
}; //spelprog2

#endif //FILEDEFS_HPP